import { Module } from '@nestjs/common';
import { ChannelService } from './channel.service';
import { ChannelController } from './channel.controller';
import { UserModule } from 'src/user/user.module';
import { Channel } from './entities/channel.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { RedisModule } from 'src/redis/redis.module';

@Module({
    imports: [UserModule, TypeOrmModule.forFeature([Channel]) , RedisModule],
    controllers: [ChannelController],
    providers: [ChannelService],
    exports: [ChannelService]
})
export class ChannelModule { }
